import Taxpayer from './taxpayer';

const Layout = resolve => {
  require(['./Layout'], resolve);
};

const routeConfig = {
  path: '/invoice/admin',
  redirect: '/invoice/admin/taxpayer',
  component: Layout,
  meta: {
    title: '管理',
    name: '管理',
    show: false
  },
  children: [...Taxpayer],
  beforeEnter: (to, from, next) => {
    next();
  }
};

window.routeConfig = [routeConfig];
export default [routeConfig];
